package sqlexplorer.domain;

public enum DatabaseType {
	
	MYSQL,
	ORACLE,
	POSTGRESQL;
	
	public static String getDriverName(DatabaseType type){
		switch(type){
			case MYSQL:
				return "com.mysql.jdbc.Driver";
				
			case ORACLE:
				return "oracle.jdbc.OracleDriver";
				
			case POSTGRESQL:
				return "org.postgresql.Driver";
				
			default:
				return null;
		}
	}
}
